package com.guigu.alibaba.fallback;

import com.guigu.alibaba.service.PaymentService;
import com.guigu.springcloud.common.CommonResult;
import org.springframework.stereotype.Component;


@Component
public class PaymentFallback implements PaymentService {
    @Override
    public CommonResult getById(Long id) {
        return CommonResult.voData(400, "服务熔断：", null);
    }
}
